#ifndef BEVERAGE_HPP
#define BEVERAGE_HPP

#include <iostream>
#include <string>

class Beverage
{
protected:
  std::string _description;
  double _cost;

public:
  Beverage()
    :_description("饮料")
  {}

  Beverage(std::string description)
    :_description(description)
  {}

  Beverage(std::string description, double cost)
    :_description(description), _cost(cost)
  {}

  // 描述
  virtual std::string GetDescription() = 0;

  // 价格
  virtual double Cost() = 0;
};

#endif
